package com.moxiao.yfjh.module.blind.controller.app.controller.user.vo;

import com.moxiao.yfjh.module.blind.controller.admin.privilege.vo.MemberPrivilegeRespVO;
import com.moxiao.yfjh.module.blind.dal.dataobject.privilege.MemberPrivilegeDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @Author zhk
 * @Date 2024/1/29 11:06
 **/
@Schema(description = "用户 APP - 会员剩余权益")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ResidualInterestRespVo {

    @Schema(description = "会员剩余权益")
    List<Map<String,String>> residualList;
    @Schema(description = "用户昵称", example = "芋艿")
    private String nickName;
    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "剩余天数")
    private Long remainingDays;
    @Schema(description = "会员结束时间")
    private LocalDateTime memberEnd;
    @Schema(description = "用户等级")
    private Byte userLevel;
    /**
     * 特权列表
     */
    private List<MemberPrivilegeRespVO> listPrivilege;


}
